﻿@page
@model ResourceBasedAuthApp2.Pages.Document.EditModel
@{
    ViewData["Title"] = "Edit";
}

<h2>Edit Document</h2>

You have edit permission on @Model.Document.Title!